
package io.renren.modules.sys.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
public class SysLoginForm {
    @NotBlank(message="用户名不能为空")
    @ApiModelProperty(required = true, value = "用户名")
    private String username;

    @NotBlank(message="密码不能为空")
    @ApiModelProperty(required = true, value = "密码")
    private String password;

    @NotBlank(message="验证码不能为空")
    @ApiModelProperty(required = true, value = "验证码")
    private String captcha;

    @NotBlank(message="唯一标识不能为空")
    @ApiModelProperty(required = true, value = "唯一标识")
    private String uuid;


}
